<a class="iconfont icon-fanhui" onclick="gets()" style="display: block;padding: 15px; cursor: pointer; margin-bottom: 10px; border-bottom: 2px solid black;">返回</a>

<script>
    function gets() {
        window.history.back();
    }  //返回上一页
</script>